Skip to content

Update mailer.rst #13194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2020
Merged

Update mailer.rst #13194

merged 1 commit into from
Feb 22, 2020

Conversation

simonberton
Copy link
Contributor

Symfony\Component\Mailer\MailerInterface method send returns void. Not Symfony\Component\Mailer\SentMessage

$sentEmail = $mailer->send($email);
// $messageId = $sentEmail->getMessageId();

$mailer->send($email);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt be fixed on lower branch also?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe. Tested it on 5.0.2

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! We merged this in 4.4. Thanks!

@javiereguiluz javiereguiluz added this to the 4.4 milestone Feb 22, 2020
Symfony\Component\Mailer\MailerInterface method send returns void. Not Symfony\Component\Mailer\SentMessage
@javiereguiluz javiereguiluz changed the base branch from master to 4.4 February 22, 2020 17:48
@javiereguiluz
Copy link
Member

Thank you Simon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants